Skip to content

[codex] test: lift utility coverage above TaskBounty target#1

Open
strongkeep-debug wants to merge 1 commit into
eliottreich:mainfrom
strongkeep-debug:codex/taskbounty-coverage-uplift
Open

[codex] test: lift utility coverage above TaskBounty target#1
strongkeep-debug wants to merge 1 commit into
eliottreich:mainfrom
strongkeep-debug:codex/taskbounty-coverage-uplift

Conversation

@strongkeep-debug

Copy link
Copy Markdown

This PR lifts the tiny utility package above the TaskBounty coverage target by adding focused Vitest coverage across the public helpers and fixing the coverage script so the source globs work cross-platform.

TaskBounty: 37703bba-8af5-4068-b438-fad88c87ae40

Area Change Evidence
arrays, dates, money, strings Adds focused tests for exported helper behavior and edge cases. npm test -> 4 files / 24 tests passing
coverage script Removes shell-sensitive single quotes around include/exclude globs. npm run test:coverage -> 100% statements, 97.14% branches, 100% functions, 100% lines

Validation run locally:

npm test
# Test Files 4 passed; Tests 24 passed

npm run test:coverage
# Statements 100% (80/80)
# Branches 97.14% (34/35)
# Functions 100% (15/15)
# Lines 100% (80/80)

npx tsc --noEmit
git diff --check

The PR deliberately leaves the utility implementations untouched; the scope is limited to coverage and the coverage command needed to measure it reliably.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant